package com.asen.commons.annotation;

import java.lang.annotation.*;

/**
 * @author : Lesao
 * @version : 2018/12/25
 * @Description : 跳过权限控制注解
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface SkipAuthorization {

    /**
     * 未登录也可访问
     *
     * @return
     */
    boolean directAccess() default false;


}
